package com.dingyx.ps.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dingyx.ps.model.entity.EnterpriseDTO;
import com.dingyx.ps.model.entity.RelateEnterpriseEngineerDTO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @description 合同表
 * @author zhangyang@zencor.cn
 * @date 2020-11-17
 */
@Mapper
public interface RelateEnterpriseEngineerMapper extends BaseMapper<RelateEnterpriseEngineerDTO> {
    /**
     * 查询工程师关联的企业集合
     * @param engineerId
     * @return
     */
    List<EnterpriseDTO> selectEnterpriseByEngineerId(Integer engineerId);
}

